package com.ruoyi.exam.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校管理对象 exam_university
 * 
 * @author wky
 * @date 2024-09-09
 */
@Schema(description = "学校管理对象")
public class ExamUniversity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    @Schema(title = "")
    private Long universityId;

    /** 学校名称 */
    @Schema(title = "学校名称")
    @Excel(name = "学校名称")
    private String universityName;

    /** 所属地区id */
    @Schema(title = "所属地区id")
    @Excel(name = "所属地区id")
    private Long universityAreaId;

    private String areaName;

    public void setUniversityId(Long universityId) {
        this.universityId = universityId;
    }

    public Long getUniversityId() {
        return universityId;
    }

    public void setUniversityName(String universityName) {
        this.universityName = universityName;
    }

    public String getUniversityName() {
        return universityName;
    }

    public void setUniversityAreaId(Long universityAreaId) {
        this.universityAreaId = universityAreaId;
    }

    public Long getUniversityAreaId() {
        return universityAreaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("universityId", getUniversityId())
                .append("universityName", getUniversityName())
                .append("universityAreaId", getUniversityAreaId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .toString();
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}
